package com.xiaomi.service;

import com.xiaomi.entity.ShopSpu;

import java.util.List;
import java.util.Map;

/**
 * @ClassName ShopSpuService
 * @Description TODO
 * @Author yp
 * @Date 2021/11/28 10:09
 * @Version 1.0
 **/
public interface ShopSpuService {
/**
 * @MethodName pageSearch
 * @Description TODO
 * @Param pars
 * @Return [pars]
 * @Author zcy
 * @Date 2021/12/5 0:19
 **/
    List<ShopSpu> pageSearch(Map<String,Object> pars) throws Exception;
    Integer getCount(Map<String,Object> pars) throws Exception;

    void insert(ShopSpu shopSpu) throws Exception;

    void update(ShopSpu shopSpu) throws Exception;

    void delete(Integer id) throws Exception;

}
